package com.song.qqonline.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPoolUtil {
	
    static ExecutorService pool = Executors.newFixedThreadPool(5);
    
	public static void executeRunnable(Runnable runnable){
	 
		pool.execute(runnable);
	
	} 

	public static void shutdownNow(){
		pool.shutdownNow();
	}

}
